

.LC0:
	.string "%d"

.LC1:
	.string "不等于-1\n"

.LC2:
	.string "等于-1\n"

.globl main

main:
	pushq %rbp
	movq %rsp,%rbp
	subq $0x1000,%rsp

	movl $0,-0x1000(%rbp) /* sockfd */
	
	leaq -0x1000(%rbp),%rsi /* sockfd */
	leaq .LC0(%rip),%rdi
	movl $0,%eax 
	call scanf 

	movl -0x1000(%rbp),%eax /* sockfd */
	cmpl $-1,%eax
	jne .Lmain_400

	leaq .LC2(%rip),%rdi
	movl $0,%eax 
	call printf 

	jmp .Lmain_0
.Lmain_400:
	leaq .LC1(%rip),%rdi
	movl $0,%eax 
	call printf 

.Lmain_0:
	movl $0,%eax
	leave
	ret
